Optimal. Leaf size=284 \[ \frac {9 b c^3 d^2 x^2 \sqrt {d-c^2 d x^2}}{16 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {b c^5 d^2 x^4 \sqrt {d-c^2 d x^2}}{16 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {15}{8} c^2 d^2 x \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )-\frac {5}{4} c^2 d x \left (d-c^2 d x^2\right )^{3/2} \left (a+b \cosh ^{-1}(c x)\right )-\frac {\left (d-c^2 d x^2\right )^{5/2} \left (a+b \cosh ^{-1}(c x)\right )}{x}+\frac {15 c d^2 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{16 b \sqrt {-1+c x} \sqrt {1+c x}}+\frac {b c d^2 \sqrt {d-c^2 d x^2} \log (x)}{\sqrt {-1+c x} \sqrt {1+c x}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.22, antiderivative size = 284, normalized size of antiderivative = 1.00, number of steps
used = 12, number of rules used = 9, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {5928, 5897,
5895, 5893, 30, 74, 14, 272, 45} \begin {gather*} -\frac {15}{8} c^2 d^2 x \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )+\frac {15 c d^2 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{16 b \sqrt {c x-1} \sqrt {c x+1}}-\frac {5}{4} c^2 d x \left (d-c^2 d x^2\right )^{3/2} \left (a+b \cosh ^{-1}(c x)\right )-\frac {\left (d-c^2 d x^2\right )^{5/2} \left (a+b \cosh ^{-1}(c x)\right )}{x}+\frac {b c d^2 \log (x) \sqrt {d-c^2 d x^2}}{\sqrt {c x-1} \sqrt {c x+1}}-\frac {b c^5 d^2 x^4 \sqrt {d-c^2 d x^2}}{16 \sqrt {c x-1} \sqrt {c x+1}}+\frac {9 b c^3 d^2 x^2 \sqrt {d-c^2 d x^2}}{16 \sqrt {c x-1} \sqrt {c x+1}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 30
Rule 45
Rule 74
Rule 272
Rule 5893
Rule 5895
Rule 5897
Rule 5928
Rubi steps
\begin {align*} \int \frac {\left (d-c^2 d x^2\right )^{5/2} \left (a+b \cosh ^{-1}(c x)\right )}{x^2} \, dx &=\frac {\left (d^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {(-1+c x)^{5/2} (1+c x)^{5/2} \left (a+b \cosh ^{-1}(c x)\right )}{x^2} \, dx}{\sqrt {-1+c x} \sqrt {1+c x}}\\ &=-\frac {d^2 (1-c x)^2 (1+c x)^2 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{x}+\frac {\left (b c d^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {\left (-1+c^2 x^2\right )^2}{x} \, dx}{\sqrt {-1+c x} \sqrt {1+c x}}+\frac {\left (5 c^2 d^2 \sqrt {d-c^2 d x^2}\right ) \int (-1+c x)^{3/2} (1+c x)^{3/2} \left (a+b \cosh ^{-1}(c x)\right ) \, dx}{\sqrt {-1+c x} \sqrt {1+c x}}\\ &=-\frac {5}{4} c^2 d^2 x (1-c x) (1+c x) \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )-\frac {d^2 (1-c x)^2 (1+c x)^2 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{x}+\frac {\left (b c d^2 \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int \frac {\left (-1+c^2 x\right )^2}{x} \, dx,x,x^2\right )}{2 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (15 c^2 d^2 \sqrt {d-c^2 d x^2}\right ) \int \sqrt {-1+c x} \sqrt {1+c x} \left (a+b \cosh ^{-1}(c x)\right ) \, dx}{4 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (5 b c^3 d^2 \sqrt {d-c^2 d x^2}\right ) \int x \left (-1+c^2 x^2\right ) \, dx}{4 \sqrt {-1+c x} \sqrt {1+c x}}\\ &=-\frac {15}{8} c^2 d^2 x \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )-\frac {5}{4} c^2 d^2 x (1-c x) (1+c x) \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )-\frac {d^2 (1-c x)^2 (1+c x)^2 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{x}+\frac {\left (b c d^2 \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int \left (-2 c^2+\frac {1}{x}+c^4 x\right ) \, dx,x,x^2\right )}{2 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {\left (15 c^2 d^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {a+b \cosh ^{-1}(c x)}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{8 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (5 b c^3 d^2 \sqrt {d-c^2 d x^2}\right ) \int \left (-x+c^2 x^3\right ) \, dx}{4 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {\left (15 b c^3 d^2 \sqrt {d-c^2 d x^2}\right ) \int x \, dx}{8 \sqrt {-1+c x} \sqrt {1+c x}}\\ &=\frac {9 b c^3 d^2 x^2 \sqrt {d-c^2 d x^2}}{16 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {b c^5 d^2 x^4 \sqrt {d-c^2 d x^2}}{16 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {15}{8} c^2 d^2 x \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )-\frac {5}{4} c^2 d^2 x (1-c x) (1+c x) \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )-\frac {d^2 (1-c x)^2 (1+c x)^2 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{x}+\frac {15 c d^2 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{16 b \sqrt {-1+c x} \sqrt {1+c x}}+\frac {b c d^2 \sqrt {d-c^2 d x^2} \log (x)}{\sqrt {-1+c x} \sqrt {1+c x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 1.15, size = 305, normalized size = 1.07 \begin {gather*} \frac {1}{128} d^2 \left (\frac {16 a \sqrt {d-c^2 d x^2} \left (-8-9 c^2 x^2+2 c^4 x^4\right )}{x}+240 a c \sqrt {d} \text {ArcTan}\left (\frac {c x \sqrt {d-c^2 d x^2}}{\sqrt {d} \left (-1+c^2 x^2\right )}\right )+64 b c \sqrt {d-c^2 d x^2} \left (-\frac {2 \cosh ^{-1}(c x)}{c x}+\frac {\cosh ^{-1}(c x)^2+2 \log (c x)}{\sqrt {\frac {-1+c x}{1+c x}} (1+c x)}\right )+\frac {32 b c \sqrt {d-c^2 d x^2} \left (2 \cosh ^{-1}(c x)^2+\cosh \left (2 \cosh ^{-1}(c x)\right )-2 \cosh ^{-1}(c x) \sinh \left (2 \cosh ^{-1}(c x)\right )\right )}{\sqrt {\frac {-1+c x}{1+c x}} (1+c x)}-\frac {b c \sqrt {d-c^2 d x^2} \left (8 \cosh ^{-1}(c x)^2+\cosh \left (4 \cosh ^{-1}(c x)\right )-4 \cosh ^{-1}(c x) \sinh \left (4 \cosh ^{-1}(c x)\right )\right )}{\sqrt {\frac {-1+c x}{1+c x}} (1+c x)}\right ) \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(549\) vs.
\(2(244)=488\).
time = 4.01, size = 550, normalized size = 1.94
method | result | size |
default | \(-\frac {a \left (-c^{2} d \,x^{2}+d \right )^{\frac {7}{2}}}{d x}-a \,c^{2} x \left (-c^{2} d \,x^{2}+d \right )^{\frac {5}{2}}-\frac {5 a \,c^{2} d x \left (-c^{2} d \,x^{2}+d \right )^{\frac {3}{2}}}{4}-\frac {15 a \,c^{2} d^{2} x \sqrt {-c^{2} d \,x^{2}+d}}{8}-\frac {15 a \,c^{2} d^{3} \arctan \left (\frac {\sqrt {c^{2} d}\, x}{\sqrt {-c^{2} d \,x^{2}+d}}\right )}{8 \sqrt {c^{2} d}}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, c^{5} d^{2} x^{4}}{16 \sqrt {c x +1}\, \sqrt {c x -1}}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \mathrm {arccosh}\left (c x \right ) c \,d^{2}}{\sqrt {c x -1}\, \sqrt {c x +1}}+\frac {9 b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, c^{3} d^{2} x^{2}}{16 \sqrt {c x +1}\, \sqrt {c x -1}}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \ln \left (1+\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}\right ) c \,d^{2}}{\sqrt {c x -1}\, \sqrt {c x +1}}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, c^{6} d^{2} \mathrm {arccosh}\left (c x \right ) x^{5}}{4 \left (c x +1\right ) \left (c x -1\right )}-\frac {11 b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, c^{4} d^{2} \mathrm {arccosh}\left (c x \right ) x^{3}}{8 \left (c x +1\right ) \left (c x -1\right )}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, c^{2} d^{2} \mathrm {arccosh}\left (c x \right ) x}{8 \left (c x +1\right ) \left (c x -1\right )}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \mathrm {arccosh}\left (c x \right ) d^{2}}{\left (c x +1\right ) \left (c x -1\right ) x}-\frac {33 b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, c \,d^{2}}{128 \sqrt {c x +1}\, \sqrt {c x -1}}+\frac {15 b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \mathrm {arccosh}\left (c x \right )^{2} c \,d^{2}}{16 \sqrt {c x -1}\, \sqrt {c x +1}}\) | \(550\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (- d \left (c x - 1\right ) \left (c x + 1\right )\right )^{\frac {5}{2}} \left (a + b \operatorname {acosh}{\left (c x \right )}\right )}{x^{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {\left (a+b\,\mathrm {acosh}\left (c\,x\right )\right )\,{\left (d-c^2\,d\,x^2\right )}^{5/2}}{x^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________